package com.lizhi.yun.db.rsz.entity;/**
 * @program: hbsf
 * @name RszTrainRecordEntity
 * @description: 训练记录表
 * @author: lizhi
 * @create: 2021-08-12 17:08
 */

import com.lizhi.mybatis.boot.Description;
import lombok.Data;
import lombok.ToString;

import javax.persistence.*;

/**
 *@program: hbsf
 *@name RszTrainRecordEntity
 *@description: 训练记录表
 *@author: lizhi
 *@create: 2021-08-12 17:08
 */
@Data
@ToString
@Table(name = "rsz_train_record")
@Entity
@Description("训练记录表")
public class RszTrainRecordEntity extends AbstractVrEntity {

    @Id
    @Column(columnDefinition="varchar(30) COMMENT 'lid'")
    @Description("lid")
    public String lid;

    @Column(columnDefinition="varchar(30) COMMENT '训练记录id'")
    public String recordId;

    @Column(columnDefinition="varchar(30) COMMENT '训练开始时间'")
    public String recordStartTime;

    @Column(columnDefinition="varchar(30) COMMENT '训练结束时间'")
    public String recordEndTime;

    @Column(columnDefinition="varchar(500) COMMENT '处方训练中匹配度；康复游戏得分'")
    public String recordMateGrade;

    @Column(columnDefinition="varchar(30) COMMENT '处方id'")
    public String preId;

    @Column(columnDefinition="varchar(500) COMMENT '训练时间(秒)'")
    public String recordTrainTime;

    @Column(columnDefinition="varchar(30) COMMENT '患者id'")
    public String ptId;

    @Transient
    public RszPatientEntity rszPatientEntity;

    @Transient
    public RszPrescriptionEntity rszPrescriptionEntity;
}
